package com.mcxx.modules.miniSalvation.family.dao.read;


import com.mcxx.modules.miniSalvation.family.dto.SuspendFamilyResultDTO;
import com.mcxx.modules.miniSalvation.family.param.BatchProtectParam;
import com.mcxx.modules.miniSalvation.order.entity.SuspendFamilyEntity;
import com.yinhai.ta404.module.mybatis.mapper.Ta404SupportMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SuspendFamilyReadDAO extends Ta404SupportMapper {

    List<SuspendFamilyResultDTO> querySuspendFamilyList(BatchProtectParam param);

    List<SuspendFamilyResultDTO> queryById(String[] id);

    List<SuspendFamilyResultDTO> querySuspendList(BatchProtectParam param);

    List<SuspendFamilyResultDTO> querySuspendExcelList(BatchProtectParam param);


    SuspendFamilyResultDTO findSuspendContent(@Param("id") String id);

    SuspendFamilyEntity selectBySourceOrderId(String orderId, String state);

    int selectSuspendFamily(String familyId,String orderId);
}
